package com.qianying.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("customer_info")
public class CustomerInfo {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String customerCode;
    private String customerName;
    private String customerShortName;
    private String openingHeader;
    private String accountNumber;
    private BigDecimal defaultTaxRate;
    private Integer defaultSettlementMethod;
    private Integer defaultReceiptMethod;
    private Boolean needPurchasePublicInsurance;
    private Boolean needPurchaseWorkersInsurance;
    private Boolean needReportApproval;
    private Boolean needReceiptApproval;
    private String businessLicense;
    private Long province;
    private Long city;
    private Long district;
    private String addressDetail;
    private Date createdAt;
    private Date updatedAt;
}